package com.vil.mapper;

import com.vil.entity.Cars;
import com.vil.entity.Charge;
import com.vil.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CarsMapper {
    int deleteByPrimaryKey(Long id) throws  Exception;

    int insert(Cars record)throws  Exception;

    int insertSelective(Cars record)throws  Exception;

    Cars selectByPrimaryKey(Long id)throws  Exception;

    int updateByPrimaryKeySelective(Cars record)throws  Exception;

    int updateByPrimaryKey(Cars record)throws  Exception;

    List<Cars> getListByManyConditions(Cars recode)throws  Exception;
    //批量删除
    int deleteMany(Long[] array)throws  Exception;

}